package com.xgzit.xgzmall.product.dao;

import com.xgzit.xgzmall.product.entity.AttrAttrgroupRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性&属性分组关联
 *
 * @author xgz
 * @email 923904706@qq.com
 * @date 2021-03-20 14:49:09
 */
@Mapper
public interface AttrAttrgroupRelationDao extends BaseMapper<AttrAttrgroupRelationEntity> {
    /**
    * 自定义的批量删除方法
    * @param entities:  关联关系实体
    * @return void
    */
    void deleteBatchRelation(@Param("entities") List<AttrAttrgroupRelationEntity> entities);

}
